<div>
    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件" namespace="parkingBoxManage"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;"></div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-3">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入岗亭编号','parkingBoxManage')"
                            v-model.trim="parkingBoxManageInfo.conditions.boxId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入岗亭名称','parkingBoxManage')"
                            v-model.trim="parkingBoxManageInfo.conditions.boxName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-3">
                    <select class="custom-select" v-model="parkingBoxManageInfo.conditions.tempCarIn">
                        <option selected value="">{{vc.i18n('请选择临时车进场','parkingBoxManage')}}</option>
                        <option value="Y">{{vc.i18n('是','parkingBoxManage')}}</option>
                        <option value="N">{{vc.i18n('否','parkingBoxManage')}}</option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryParkingBoxMethod()"
                        style="margin-top: 5px;">
                        <vc:i18n name="查询" namespace="parkingBoxManage"></vc:i18n>
                    </button>
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_resetParkingBoxMethod()"
                        style="margin-top: 5px;">
                        <vc:i18n name="重置" namespace="parkingBoxManage"></vc:i18n>
                    </button>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="岗亭信息" namespace="parkingBoxManage"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddParkingBoxModal()">
                            <i class="fa fa-plus"></i>添加
                        </button> -->
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name="岗亭编号" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="岗亭名称" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="停车场" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="临时车进场" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="临时车审核" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="是否收费" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="已在场" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="未在场" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="备注" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="操作" namespace="parkingBoxManage"></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="parkingBox in parkingBoxManageInfo.parkingBoxs">
                                <td class="text-center">{{parkingBox.boxId}}</td>
                                <td class="text-center">{{parkingBox.boxName}}</td>
                                <td class="text-center">{{parkingBox.paNum}}</td>
                                <td class="text-center">{{parkingBox.tempCarIn== 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{parkingBox.tempAuth== 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{parkingBox.fee == 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{parkingBox.blueCarIn== 'Y'?'可进场':'不可进场'}}</td>
                                <td class="text-center">{{parkingBox.yelowCarIn== 'Y'?'可出场':'不可出场'}}</td>
                                <td class="text-center">{{parkingBox.remark}}</td>
                                <td class="text-center">
                                    <div class="btn-group" v-if="vc.hasPrivilege('502022090904120022')">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openParkingAreaControl(parkingBox)">
                                            <vc:i18n name="控制台" namespace="parkingBoxManage"></vc:i18n>
                                        </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <div>
                        <div class="col-sm-7">
                            数据来源于物联网系统，请到物联网系统管理数据
                        </div>
                        <div class="col-sm-7">
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- <vc:create path="property/addParkingBox" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editParkingBox"></vc:create>
    <vc:create path="property/deleteParkingBox"></vc:create> -->
</div>